str='Hello'

try:
    str[0] = 'h'
except TypeError:
    print('String is immutable')

# again, trigger the error
# TypeError: 'str' object does not support item assignment
str[0] = 'h'
